package com.ruoyi.system.domain.shopping;

import java.time.LocalDateTime;
import java.util.List;

public class Order {
    private Integer orderId;
    private String orderNum;
    private LocalDateTime orderTime;
    private String addressDtl;
    private String addressTags;
    private String addressee;
    private String addresseeArea;
    private String addresseePhone;
    private Integer userId;

    private List<OrderDtl> products;

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", orderNum='" + orderNum + '\'' +
                ", orderTime=" + orderTime +
                ", addressDtl='" + addressDtl + '\'' +
                ", addressTags='" + addressTags + '\'' +
                ", addressee='" + addressee + '\'' +
                ", addresseeArea='" + addresseeArea + '\'' +
                ", addresseePhone='" + addresseePhone + '\'' +
                ", userId=" + userId +
                ", products=" + products +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public LocalDateTime getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(LocalDateTime orderTime) {
        this.orderTime = orderTime;
    }

    public String getAddressDtl() {
        return addressDtl;
    }

    public void setAddressDtl(String addressDtl) {
        this.addressDtl = addressDtl;
    }

    public String getAddressTags() {
        return addressTags;
    }

    public void setAddressTags(String addressTags) {
        this.addressTags = addressTags;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee;
    }

    public String getAddresseeArea() {
        return addresseeArea;
    }

    public void setAddresseeArea(String addresseeArea) {
        this.addresseeArea = addresseeArea;
    }

    public String getAddresseePhone() {
        return addresseePhone;
    }

    public void setAddresseePhone(String addresseePhone) {
        this.addresseePhone = addresseePhone;
    }

    public List<OrderDtl> getProducts() {
        return products;
    }

    public void setProducts(List<OrderDtl> products) {
        this.products = products;
    }
}
